package com.atguigu.gulimall.order.exception;

import lombok.Data;

@Data
public class NoStockException extends RuntimeException {
    private String msg;
    public NoStockException(String msg) {
        super("商品是:" + msg + "没有足够的库存了");
    }
}
